﻿using UnityEngine;
using System.Collections;

public class shipHealPowerUp : powerUpBase
{
    private Controller shipRef;
    // Use this for initialization
    void Start()
    {
		FullHeal();
        GameObject theShip = GameObject.Find("JetFighter");
        shipRef = theShip.GetComponent<Controller>();
    }

    // Update is called once per frame
    protected override void activatePowerUp()
    {
        shipRef.Heal();
    }
}
